<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * Rapportvisite
 *
 * @ORM\Table(name="rapportvisite")
 * @ORM\Entity
 */
class Rapportvisite
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var integer $rapnum
     *
     * @ORM\Column(name="rapNum", type="integer", nullable=false)
     */
    private $rapnum;

    /**
     * @var datetime $rapdate
     *
     * @ORM\Column(name="rapDate", type="datetime", nullable=true)
     */
    private $rapdate;

    /**
     * @var string $rapbilan
     *
     * @ORM\Column(name="rapBilan", type="string", length=255, nullable=true)
     */
    private $rapbilan;

    /**
     * @var string $rapmotif
     *
     * @ORM\Column(name="rapMotif", type="string", length=255, nullable=true)
     */
    private $rapmotif;

    /**
     * @var boolean $etat
     *
     * @ORM\Column(name="etat", type="boolean", nullable=false)
     */
    private $etat;

    /**
     * @var Praticien
     *
     * @ORM\OneToOne(targetEntity="Praticien")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="praNum", referencedColumnName="praNum", unique=true)
     * })
     */
    private $pranum;

    /**
     * @var Visiteur
     *
     * @ORM\OneToOne(targetEntity="Visiteur")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="visMatricule", referencedColumnName="visMatricule", unique=true)
     * })
     */
    private $vismatricule;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set rapnum
     *
     * @param integer $rapnum
     * @return Rapportvisite
     */
    public function setRapnum($rapnum)
    {
        $this->rapnum = $rapnum;
        return $this;
    }

    /**
     * Get rapnum
     *
     * @return integer 
     */
    public function getRapnum()
    {
        return $this->rapnum;
    }

    /**
     * Set rapdate
     *
     * @param datetime $rapdate
     * @return Rapportvisite
     */
    public function setRapdate($rapdate)
    {
        $this->rapdate = $rapdate;
        return $this;
    }

    /**
     * Get rapdate
     *
     * @return datetime 
     */
    public function getRapdate()
    {
        return $this->rapdate;
    }

    /**
     * Set rapbilan
     *
     * @param string $rapbilan
     * @return Rapportvisite
     */
    public function setRapbilan($rapbilan)
    {
        $this->rapbilan = $rapbilan;
        return $this;
    }

    /**
     * Get rapbilan
     *
     * @return string 
     */
    public function getRapbilan()
    {
        return $this->rapbilan;
    }

    /**
     * Set rapmotif
     *
     * @param string $rapmotif
     * @return Rapportvisite
     */
    public function setRapmotif($rapmotif)
    {
        $this->rapmotif = $rapmotif;
        return $this;
    }

    /**
     * Get rapmotif
     *
     * @return string 
     */
    public function getRapmotif()
    {
        return $this->rapmotif;
    }

    /**
     * Set etat
     *
     * @param boolean $etat
     * @return Rapportvisite
     */
    public function setEtat($etat)
    {
        $this->etat = $etat;
        return $this;
    }

    /**
     * Get etat
     *
     * @return boolean 
     */
    public function getEtat()
    {
        return $this->etat;
    }

    /**
     * Set pranum
     *
     * @param Praticien $pranum
     * @return Rapportvisite
     */
    public function setPranum(\Praticien $pranum = null)
    {
        $this->pranum = $pranum;
        return $this;
    }

    /**
     * Get pranum
     *
     * @return Praticien 
     */
    public function getPranum()
    {
        return $this->pranum;
    }

    /**
     * Set vismatricule
     *
     * @param Visiteur $vismatricule
     * @return Rapportvisite
     */
    public function setVismatricule(\Visiteur $vismatricule = null)
    {
        $this->vismatricule = $vismatricule;
        return $this;
    }

    /**
     * Get vismatricule
     *
     * @return Visiteur 
     */
    public function getVismatricule()
    {
        return $this->vismatricule;
    }
}